/**
 * 地图信息配置
 */
cfg.mapInfo.projection = 'EPSG:4326'
const config = {
	cfg: {
		mapInfo: {
			// 中心点坐标
			center: [37, 102],
			// 地图初始化放大级别
			level: 3,
			// 最小缩放级别
			minlevel: 1,
			// 最大缩放级别
			maxlevel: 14,
			// 投影配置
			projection: 'EPSG:4326',

			crs: L.CRS.EPSG4326,
			// 原点
			orgin: [-180, 90],
			// 当前视图范围
			maxBounds: [
				[53.306, 74.355],
				[18.413, 135.703]
			],
			// 比例尺
			resolutions: [
				1.40625,
				0.703125,
				0.3515625,
				0.17578125,
				0.087890625,
				0.0439453125,
				0.02197265625,
				0.010986328125,
				0.0054931640625,
				0.00274658203125,
				0.001373291015625,
				0.0006866455078125,
				0.00034332275390625,
				0.000171661376953125,
				0.0000858306884765625,
				0.0000429153442382813,
				0.0000214576721191406,
				0.0000107288360595703,
				0.00000536441802978516
			]
		},
		// 地图配置
		maps: [
			// 矢量图
			{
				mapType: 'vector',
				layers: [{
						serviceType: 'wmts',
						name: '全国矢量',
						url: 'http://10.1.10.12:8186/1120961101308219392/',
						layer: '1120961748816482304',
						tilematrixSet: 'EPSG:' + cfg.mapInfo.projection,
						format: 'image/png',
						attribution: '全国矢量',
						isBaseLayer: false,
						orgin: [90, -180],
						visibility: true
					},
					{
						serviceType: 'wmts',
						name: '注记',
						url: 'http://10.1.10.12:8186/1120961101308219392/',
						layer: '1120961748816482305',
						tilematrixSet: 'EPSG:' + cfg.mapInfo.projection,
						format: 'image/png',
						attribution: '全国矢量',
						isBaseLayer: false,
						orgin: [90, -180],
						visibility: true
					}
				]
			}
		]
	}
}
export default config
